<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>spaceship.Projectile</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="spaceship-module.html">Module&nbsp;spaceship</a> ::
        Class&nbsp;Projectile
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="spaceship.Projectile-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Projectile</h1><span class="codelink"><a href="spaceship-pysrc.html#Projectile">source&nbsp;code</a></span><br /><br />
<pre class="base-tree">
       <a href="base.AGObject-class.html">base.AGObject</a> --+    
                       |    
          object --+   |    
                   |   |    
pygame.sprite.Sprite --+    
                       |    
                <a href="spaceship.AGSprite-class.html">AGSprite</a> --+
                           |
                          <strong class="uidshort">Projectile</strong>
</pre>

<dl><dt>Known Subclasses:</dt>
<dd>
    <a href="spaceship.AutoCannonProjectile-class.html">AutoCannonProjectile</a>,
    <a href="spaceship.BigProjectile-class.html">BigProjectile</a>,
    <a href="spaceship.BlasterProjectile-class.html">BlasterProjectile</a>,
    <a href="spaceship.SeekingProjectile-class.html">SeekingProjectile</a>,
    <a href="spaceship.DualBlasterProjectile-class.html">DualBlasterProjectile</a>,
    <a href="spaceship.EnergyProjectile-class.html">EnergyProjectile</a>,
    <a href="spaceship.ScatteringProjectile-class.html">ScatteringProjectile</a>,
    <a href="spaceship.HeavyCannonProjectileFragment-class.html">HeavyCannonProjectileFragment</a>,
    <a href="spaceship.MiniBlasterProjectile-class.html">MiniBlasterProjectile</a>,
    <a href="spaceship.MiniCannonProjectile-class.html">MiniCannonProjectile</a>,
    <a href="spaceship.MultiCannonProjectile-class.html">MultiCannonProjectile</a>,
    <a href="spaceship.ScatterBlasterProjectileFragment-class.html">ScatterBlasterProjectileFragment</a>
</dd></dl>

<hr />
Base class for all projectiles. Provides mechanics for projectile 
  animation. Subclasses that need to provide own mechanism should override 
  methods <code>_initialize_image</code> and 
  <code>_update_image</code>.<br /><br />

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spaceship.Projectile-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">pos</span>,
        <span class="summary-sig-arg">dir</span>,
        <span class="summary-sig-arg">g_coll</span>,
        <span class="summary-sig-arg">*groups</span>)</span><br />
      Create projectile moving in direction <code>dir</code> colliding 
      with objects from group <code>g_coll</code>.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spaceship-pysrc.html#Projectile.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spaceship.Projectile-class.html#_initialize_image" class="summary-sig-name">_initialize_image</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Initialize projectile's <code>image</code> and blit first 
      state.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spaceship-pysrc.html#Projectile._initialize_image">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spaceship.Projectile-class.html#_update_image" class="summary-sig-name">_update_image</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Update projectile looks based on anything you wish.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spaceship-pysrc.html#Projectile._update_image">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spaceship.Projectile-class.html#update" class="summary-sig-name">update</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Update projectile's image, position, detect collisions and dispose
      of the projectile if it leaves the screen.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spaceship-pysrc.html#Projectile.update">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="explode"></a><span class="summary-sig-name">explode</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spaceship-pysrc.html#Projectile.explode">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_detect_collisions"></a><span class="summary-sig-name">_detect_collisions</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spaceship-pysrc.html#Projectile._detect_collisions">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spaceship.AGSprite-class.html">AGSprite</a></code></b>:
      <code><a href="spaceship.AGSprite-class.html#closest">closest</a></code>,
      <code><a href="spaceship.AGSprite-class.html#distance">distance</a></code>,
      <code><a href="spaceship.AGSprite-class.html#is_offscreen">is_offscreen</a></code>,
      <code><a href="spaceship.AGSprite-class.html#kill">kill</a></code>,
      <code><a href="spaceship.AGSprite-class.html#set_mover">set_mover</a></code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spaceship.AGSprite-class.html">AGSprite</a></code></b> (private):
      <code><a href="spaceship.AGSprite-class.html#_blit_state">_blit_state</a></code>,
      <code><a href="spaceship.AGSprite-class.html#_check_cfg">_check_cfg</a></code>,
      <code><a href="spaceship.AGSprite-class.html#_check_gfx">_check_gfx</a></code>,
      <code><a href="spaceship.AGSprite-class.html#_init_animation">_init_animation</a></code>,
      <code><a href="spaceship.AGSprite-class.html#_initialize_position">_initialize_position</a></code>,
      <code><a href="spaceship.AGSprite-class.html#_state_area">_state_area</a></code>,
      <code><a href="spaceship.AGSprite-class.html#_update_animations">_update_animations</a></code>,
      <code><a href="spaceship.AGSprite-class.html#_update_position">_update_position</a></code>
      </p></div>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="base.AGObject-class.html">base.AGObject</a></code></b> (private):
      <code><a href="base.AGObject-class.html#_setattrs">_setattrs</a></code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>pygame.sprite.Sprite</code></b>:
      <code>__repr__</code>,
      <code>add</code>,
      <code>add_internal</code>,
      <code>alive</code>,
      <code>groups</code>,
      <code>remove</code>,
      <code>remove_internal</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__setattr__</code>,
      <code>__str__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== STATIC METHODS ==================== -->
<a name="section-StaticMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Static Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-StaticMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spaceship.AGSprite-class.html">AGSprite</a></code></b> (private):
      <code><a href="spaceship.AGSprite-class.html#_closest_compare_dists">_closest_compare_dists</a></code>
      </p></div>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="damage"></a><span class="summary-name">damage</span> = <code title="0">0</code>
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE VARIABLES ==================== -->
<a name="section-InstanceVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">int</span>
    </td><td class="summary">
        <a href="spaceship.Projectile-class.html#period" class="summary-name">period</a> = <code title="0">0</code><br />
      Length of one animation period in miliseconds.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">str</span>
    </td><td class="summary">
        <a name="base_res_name"></a><span class="summary-name">base_res_name</span> = <code title="'projectile'"><code class="variable-quote">'</code><code class="variable-string">projectile</code><code class="variable-quote">'</code></code><br />
      Name of resource used to animate projectile.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">int</span>
    </td><td class="summary">
        <a name="time"></a><span class="summary-name">time</span> = <code title="0">0</code><br />
      Time passed since projectile creation.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">int</span>
    </td><td class="summary">
        <a href="spaceship.Projectile-class.html#frame_length" class="summary-name">frame_length</a><br />
      Length of single animation frame in miliseconds.
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spaceship.AGSprite-class.html">AGSprite</a></code></b>:
      <code><a href="spaceship.AGSprite-class.html#align">align</a></code>,
      <code><a href="spaceship.AGSprite-class.html#center">center</a></code>,
      <code><a href="spaceship.AGSprite-class.html#cfg">cfg</a></code>,
      <code><a href="spaceship.AGSprite-class.html#gfx">gfx</a></code>,
      <code><a href="spaceship.AGSprite-class.html#max_speed">max_speed</a></code>,
      <code><a href="spaceship.AGSprite-class.html#mover">mover</a></code>,
      <code><a href="spaceship.AGSprite-class.html#offscreen_lifetime">offscreen_lifetime</a></code>,
      <code><a href="spaceship.AGSprite-class.html#offscreen_time">offscreen_time</a></code>,
      <code><a href="spaceship.AGSprite-class.html#pos">pos</a></code>,
      <code><a href="spaceship.AGSprite-class.html#screen_size">screen_size</a></code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spaceship.AGSprite-class.html">AGSprite</a></code></b> (private):
      <code><a href="spaceship.AGSprite-class.html#_animations">_animations</a></code>,
      <code><a href="spaceship.AGSprite-class.html#_overlay">_overlay</a></code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="base.AGObject-class.html">base.AGObject</a></code></b>:
      <code><a href="base.AGObject-class.html#clock">clock</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">pos</span>,
        <span class="sig-arg">dir</span>,
        <span class="sig-arg">g_coll</span>,
        <span class="sig-arg">*groups</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spaceship-pysrc.html#Projectile.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </table>
  
  Create projectile moving in direction <code>dir</code> colliding with 
  objects from group <code>g_coll</code>. Add created projectile to 
  <code>groups</code>.
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>dir</code></strong> (float) - Approximate direction in which the projectile is shoot. This 
          should be used but may be ignored by projectile's mover.</li>
    </ul></dd>
    <dt>Overrides:
      <a href="spaceship.AGSprite-class.html#__init__">AGSprite.__init__</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="_initialize_image"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">_initialize_image</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spaceship-pysrc.html#Projectile._initialize_image">source&nbsp;code</a></span>&nbsp;
    </td>
  </table>
  
  Initialize projectile's <code>image</code> and blit first state. 
  Initialize <code>frame_count</code> and <code>frame_length</code>. This 
  method may be overriden by subclasses. By default state 
  <code>'frame0'</code> of resource <code>'projectile'</code> is blit.
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="_update_image"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">_update_image</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spaceship-pysrc.html#Projectile._update_image">source&nbsp;code</a></span>&nbsp;
    </td>
  </table>
  
  Update projectile looks based on anything you wish. This method may be
  overriden by subclasses. By default subsequent stages from 'frame0' to 
  'frameN' of resource named <code>base_res_name</code> are cycled (N is 
  equal to <code>frame_count</code>.
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="update"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">update</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spaceship-pysrc.html#Projectile.update">source&nbsp;code</a></span>&nbsp;
    </td>
  </table>
  
  <p>Update projectile's image, position, detect collisions and dispose of 
  the projectile if it leaves the screen.</p>
  This method may be overriden provided it does all mentioned above.
  <dl class="fields">
    <dt>Overrides:
      <a href="spaceship.AGSprite-class.html#update">AGSprite.update</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== INSTANCE VARIABLE DETAILS ==================== -->
<a name="section-InstanceVariableDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Variable Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceVariableDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="period"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">period</h3>
  Length of one animation period in miliseconds. Must be defined in 
  <code>cfg</code> (but is not important if projectile is not 
  animated).
  <dl class="fields">
    <dt>Type:</dt>
      <dd>int</dd>
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
0
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="frame_length"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">frame_length</h3>
  Length of single animation frame in miliseconds. Important only for 
  animated projectiles.
  <dl class="fields">
    <dt>Type:</dt>
      <dd>int</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0beta1 on Thu Jul 31 17:03:02 2008
    </td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>
